using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Abp.Application.Services;
using Abp.Application.Services.Dto;
using Sunlit.House.Buy.Dto;

namespace Sunlit.House.Buy
{
    public interface IGroupItemAppService: IAsyncCrudAppService<GroupItemDto,long,GetAllGroupItemInput,
        CreateGroupItemInput,UpdateGroupItemInput>
    {
        Task EnActive(EntityDto<long> input);
        Task DeActive(EntityDto<long> input);
        Task<List<GroupItemDto>> GetAllMyList();
        Task<List<GroupItemDto>> GetAllListByBuyId(EntityDto<long> input);
        Task<List<GroupBuyDto>> GetMyJoinList();
    }
}
